# $Id: PKGBUILD 65801 2012-02-22 12:43:30Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+aur@gmail.com>

pkgname=perl-email-messageid
pkgver=1.402
pkgrel=2
pkgdesc="Generate world unique message-ids. "
arch=('any')
url="http://search.cpan.org/dist/Email-MessageID"
license=('GPL' 'PerlArtistic')
depends=('perl-email-address>=1.80')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/R/RJ/RJBS/Email-MessageID-$pkgver.tar.gz)
md5sums=('ceadc7110336fa0de0da5e2c49be8235')

build() {
  cd  $srcdir/Email-MessageID-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
